<?php

date_default_timezone_set('Europe/Minsk');
setlocale(LC_ALL, "ru_RU.UTF-8");
mb_internal_encoding("UTF-8");
error_reporting(-1);
ini_set('display_errors', 'on');

define('MYSQL_HOST', 'localhost');
define('MYSQL_LOGIN', 'test');
define('MYSQL_PASSWORD', 'test');
define('MYSQL_DATABASE', 'test');
define('MYSQL_INITIAL_QUERY', 'SET NAMES UTF8');

$globalConfig = array();

$globalConfig['storage'] = array(
	'master' => array(
		'dbhost' => 'localhost',
		'dbname' => 'bike',
		'dbuser' => 'bike',
		'dbpass' => 'bike',
		'driver' => 'PDO_MYSQL',
		'options' => array(),
		'initialQuery' => 'SET NAMES UTF8',
	),

	'slaves' => array(
		array(
			'dbhost' => 'localhost',
			'dbname' => 'bike',
			'dbuser' => 'bike',
			'dbpass' => 'bike',
			'driver' => 'PDO_MYSQL',
			'options' => array(),
			'initialQuery' => 'SET NAMES UTF8',
		 )
	)
);

